package com.coding.mapper;


import com.coding.pojo.VideoCommentReply;
import com.coding.pojo.VideoCommentReplyRelate;
import com.coding.pojo.VideoComments;
import com.coding.vo.UserCommentData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface VideoMessageMapper {

    List<VideoComments> init();

    List<VideoCommentReply> initReply();

    List<VideoCommentReplyRelate> initRelates();

    int sendComment(@Param("videoId") Long videoId, @Param("userId") Long userId, @Param("content") String content);

    UserCommentData getUserInfo(@Param("id") Long i);



}
